package com.server.commons.minio.constant;

public class MinioPolicyConstant {

    /**
     * 对象只读
     * @author LXC
     * @date 2023/2/9 13:37
     */
    public static final String PUBLIC_READ = "{\n" +
            "\t\"Version\": \"2012-10-17\",\n" +
            "\t\"Id\": \"只读策略\",\n" +
            "\t\"Statement\": [{\n" +
            "\t\t\"Effect\": \"Allow\",\n" +
            "\t\t\"Principal\": {\n" +
            "\t\t\t\"AWS\": \"*\"\n" +
            "\t\t},\n" +
            "\t\t\"Action\": [\n" +
            "\t\t\t\"s3:GetObject\"\n" +
            "\t\t],\n" +
            "\t\t\"Resource\": [\n" +
            "\t\t\t\"arn:aws:s3:::{}/*\"\n" +
            "\t\t]\n" +
            "\t}]\n" +
            "}";

    /**
     * 对象只读
     * @author LXC
     * @date 2023/2/9 13:37
     */
    public static final String PRIVATE = "";

}
